# $Id: PKGBUILD 77134 2012-10-05 11:29:08Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Guillermo A. Amaral <me@guillermoamaral.com>

pkgname=kleansweep
pkgver=0.2.9
pkgrel=6
pkgdesc="Allows you to reclaim disk space by finding unneeded files"
license=("GPL")
url="http://linux.bydg.org/~yogin/"
arch=(i686 x86_64)
depends=('kdelibs3')
makedepends=('scons')
options=('libtool')
#source=(http://linux-projects.net/d/kleansweep-$pkgver.tar.gz
source=(http://arch.p5n.pp.ru/~sergej/dl/2011/kleansweep-$pkgver.tar.gz
	kubuntu_03_fix_scons_chmod_error.patch)
md5sums=('25fea364644590acd23fe766506e0b92'
         'bebb833313fc184848b5fef77a7cb310')

build() {
  cd $srcdir/$pkgname-$pkgver
  [ $NOEXTRACT -eq 1 ] || patch -p1 <$srcdir/kubuntu_03_fix_scons_chmod_error.patch
  [ $NOEXTRACT -eq 1 ] || ./configure
  scons
  scons install DESTDIR=$pkgdir
}
